package model

import "time"

type Iteration struct {
	BaseModel
	Name      string     `gorm:"column:iteration_name;type:varchar(20) comment '迭代名称';not null"`
	Desc      string     `gorm:"column:iteration_desc;type:varchar(50) comment '迭代简介';not null"`
	Cover     string     `gorm:"column:iteration_cover;type:varchar(100) comment '迭代封面';not null"`
	StartTime *time.Time `gorm:"colum:iteration_start_time;type:datetime comment '迭代预计开始时间';not null"`
	EndTime   *time.Time `gorm:"column:iteration_end_time;type:datetime comment '迭代预计结束时间';not null"`
	ProjectId uint64     `gorm:"column:project_id;type:int comment '迭代所属项目';not null"`
	GroupId   uint64     `gorm:"column:group_id;type:int comment '迭代所属团队';not null"`
}
